<?php

namespace App\Models;

/**
 * App\Models\UserVerifyCode
 * This is the model class for table "user_verify_code".
 *
 * @property int $id 自增ID
 * @property string $phone 手机号
 * @property string $verify_code 手机验证码
 * @property int $try_count 尝试次数
 * @property int $sms_template 使用场景 验证码模板 暂时弃用 1 登录验证码 2.绑定手机号 3. 解绑手机号 4注册，5修改密码
 * @property int $is_used 是否被使用，0否，1是
 * @property int $expired_at 验证码过期时间戳
 * @property int $created_at 创建时间戳
 * @property int $updated_at 过期时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|UserVerifyCode newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserVerifyCode newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserVerifyCode query()
 */
class UserVerifyCode extends BaseModel
{

    protected $table = "user_verify_code";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];
    

}
